package manager

import (
	"gitee.com/g-qs/gin-vue-admin/server/api/v1"
	"gitee.com/g-qs/gin-vue-admin/server/middleware"
	"github.com/gin-gonic/gin"
)

type FdHealthManagerAuditRouter struct {
}

// InitFdHealthManagerAuditRouter 初始化 健康师注册 路由信息
func (s *FdHealthManagerAuditRouter) InitFdHealthManagerAuditRouter(Router *gin.RouterGroup) {
	fdHealthManagerAuditRouter := Router.Group("fdHealthManagerAudit").Use(middleware.OperationRecord())
	fdHealthManagerAuditRouterWithoutRecord := Router.Group("fdHealthManagerAudit")
	var fdHealthManagerAuditApi = v1.ApiGroupApp.ManagerApiGroup.FdHealthManagerAuditApi
	{
		fdHealthManagerAuditRouter.POST("createFdHealthManagerAudit", fdHealthManagerAuditApi.CreateFdHealthManagerAudit)             // 新建健康师注册
		fdHealthManagerAuditRouter.DELETE("deleteFdHealthManagerAudit", fdHealthManagerAuditApi.DeleteFdHealthManagerAudit)           // 删除健康师注册
		fdHealthManagerAuditRouter.DELETE("deleteFdHealthManagerAuditByIds", fdHealthManagerAuditApi.DeleteFdHealthManagerAuditByIds) // 批量删除健康师注册
		fdHealthManagerAuditRouter.PUT("updateFdHealthManagerAudit", fdHealthManagerAuditApi.UpdateFdHealthManagerAudit)              // 更新健康师注册
	}
	{
		fdHealthManagerAuditRouterWithoutRecord.GET("findFdHealthManagerAudit", fdHealthManagerAuditApi.FindFdHealthManagerAudit)         // 根据ID获取健康师注册
		fdHealthManagerAuditRouterWithoutRecord.GET("getFdHealthManagerAuditList", fdHealthManagerAuditApi.GetFdHealthManagerAuditList)   // 获取健康师注册列表
		fdHealthManagerAuditRouterWithoutRecord.GET("getScHealthManagerAuditList", fdHealthManagerAuditApi.GetScHealthManagerAuditList)   // 获取健康师注册列表【服务中心】
		fdHealthManagerAuditRouterWithoutRecord.GET("getAllHealthManagerAuditList", fdHealthManagerAuditApi.GetAllHealthManagerAuditList) // 获取全部健康师注册列表【超管】
	}
}
